package org.apache.ocean;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;

/**
 *
 * @author jasonr
 */
public class Distance {
  public static final String MILES = "miles";
  public CDouble distance;
  public String type;
  public CDouble latitude;
  public CDouble longitude;
  
  public Distance(CDouble latitude, CDouble longitude, CDouble distance, String type) {
    this.latitude = latitude;
    this.longitude = longitude;
    this.distance = distance;
    this.type = type;
  }
  
  public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}
}
